Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLdirectory query lowercasing #1970

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

mkeckmkeck
Copy link
Contributor

@mkeckmkeck mkeckmkeck commented Apr 10, 2024

Description

When querying for the lowercased filename field of an directory, query terms containing upper case characters make no sense and will be lower cased.

Note: For MongoDB no changes are required, as it already works due to case insensitive prefix queries.

Additional Notes

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices
  • Patch Tasks: Is local execution of Patch Tasks necessary? If so, please also mark the PR with the tag.

- uppercase will never return a result here

Fixes: SIRI-951
- stay consistent with the blob implementations
- maybe future usages will also profit from optimized queries

Fixes: SIRI-951
@mkeckmkeck mkeckmkeck added the 🧬 Enhancement Contains new features label Apr 10, 2024
@mkeckmkeck mkeckmkeck merged commit 18036c1 into develop Apr 10, 2024
3 of 4 checks passed
@mkeckmkeck mkeckmkeck deleted the mke/SIRI-951_sqldirectory_query branch April 10, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧬 Enhancement Contains new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants